/*
 SGSortingGameLevel.h
 Date Created: March 6, 2010
 
 Authors: Karanvir Gill <viper1029@gmail.com>
          Frank Lau <flaua@sfu.ca>
 
 Copyright (C) 2010 Green-Power
 
 URL: http://code.google.com/p/green-power
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 3 of the License, or
 (at your option) any later version.
 
 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License
 along with this program; if not, write to the Free Software
 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 
 $Id$
 */

#import <Foundation/Foundation.h>
#import <CoreGraphics/CoreGraphics.h>

/**
 * This class contains all the information associated with a particular level
 */
@interface SGSortingGameLevel : NSObject {
	NSUInteger levelNumber; 
	NSUInteger livesLeft; 
	NSUInteger numberOfItemsInLevel; //the number of items to be sorted in a level
	CGPoint speedOfItems;
}

@property (nonatomic) NSUInteger levelNumber;
@property (nonatomic) NSUInteger livesLeft;
@property (nonatomic) NSUInteger numberOfItemsInLevel;
@property (nonatomic) CGPoint speedOfItems;

/**
 * Constructor that sets attributes such as speedOfItems and 
 * numberOfItemsInLevel based on the level number
 *
 * \param level The level number. Must be greater than 0.
 *
 * \return An instance of SGSortingGameLevel with the appropriate vaules for 
 * attributes 
 */
- (SGSortingGameLevel*)initWithLevel:(NSUInteger)level;

/**
 * Returns an array containing the item types that are avaliable in the current 
 * level
 *
 * \return The avaliable item types in the current level
 */
- (NSArray *)listItemsInLevel;


@end
